const mongoose = require('mongoose')
mongoose.connect('mongodb+srv://1031871594:258025ab@cluster2.h4i9j.mongodb.net/Homestay').then(() => {
    console.log('连接成功...');
}).catch((err) => {
    if (err) {
        console.log(err);
    }
})
module.exports=mongoose